    <!--页面主要内容-->
    <main class="lyear-layout-content">    
      <div class="container-fluid">        
        <div class="row">
          <div class="col-lg-12">
            <div class="card">
              <div class="card-body">            
                <form action="{:url('editad')}" method="post" class="row" enctype="multipart/form-data">            
                  <div class="form-group col-md-12">
                    <label for="title">姓名</label><label for="title" style="color: #fa4646;font-size: 8px;">&nbsp;&nbsp;(不能为空)</label>
                    <input type="text" class="form-control" id="title" name="adxm" value="{$data['adxm']}" placeholder="请输入真实姓名" />
                    <input type="text" name="adid" value="{$data['adid']}" style="display: none;" />
                  </div>
                  <div class="form-group col-md-12">
                    <label for="seo_description">登录密码</label><label for="title" style="color: #fa4646;font-size: 8px;">&nbsp;&nbsp;(不能为空)</label>
                    <input type="password" class="form-control" id="title" name="password" value="{$data['adpd']}" placeholder="请输入新的密码" />
                  </div>
                  <div class="form-group col-md-12">
                    <label for="seo_description">确认密码</label><label for="title" style="color: #fa4646;font-size: 8px;">&nbsp;&nbsp;(不能为空)</label>
                    <input type="password" class="form-control" id="title" name="confirmp" value="{$data['adpd']}" placeholder="请确认新密码" />
                  </div>
                  <div class="form-group col-md-12">
                    <label for="seo_description">手机号码</label><label for="title" style="color: #fa4646;font-size: 8px;">&nbsp;&nbsp;(不能为空)</label>
                    <input type="text" class="form-control" id="title" name="phone" value="{$data['adphone']}" placeholder="请输入手机号码"/>
                  </div>
                  <div class="form-group col-md-12">
                    <label for="seo_description">昵称</label>
                    <input type="text" class="form-control" id="title" name="nc" value="{$data['adname']}" placeholder="请输入昵称"/>
                  </div>
                  <div class="form-group col-md-12">
                    <label for="type">管理员级别</label>
                    <div class="form-controls">
                      <select name="adgrade" class="form-control" id="type">
                        <option value="普通管理员"{if $data['adgrade']=='普通管理员'} selected='selected'{/if}>普通管理员</option>
                        <option value="超级管理员"{if $data['adgrade']=='超级管理员'} selected='selected'{/if}>超级管理员</option>
                      </select>
                    </div>
                  </div>                  
                  <div class="form-group">
                    <label class="col-xs-12">性别</label>
                    <div class="col-xs-12">
                      <label class="radio-inline" for="example-inline-radio1">
                        <input type="radio" id="example-inline-radio1" name="adsex" value="女" {if $data['adsex']=='女'} checked='checked'{/if}>
                        女
                      </label>
                      <label class="radio-inline" for="example-inline-radio2">
                        <input type="radio" id="example-inline-radio2" name="adsex" value="男" {if $data['adsex']=='男'} checked='checked'{/if}>
                        男
                      </label>
                    </div>
                  </div>                        
                  <div class="form-group col-md-12">
                    <label>头像上传</label>
                    <div class="form-controls">                      
                      <ul class="list-inline clearfix lyear-uploads-pic">
                        <li class="col-xs-4 col-sm-3 col-md-2">
                          <figure>
                            <img id="img1" {if $data["adimg"]!=''} src="{$data['adimg']}" {else /} src="/style/uploads/thumb/default/dfthumb.jpg"{/if}  alt="图片一">
                            <figcaption>
                              <a class="btn btn-round btn-square btn-primary" href="#!"><i class="mdi mdi-eye"></i></a>
                              <a class="btn btn-round btn-square btn-danger" href="#!"><i class="mdi mdi-delete"></i></a>
                            </figcaption>
                          </figure>
                        </li>
                        <li class="col-xs-4 col-sm-3 col-md-2">
                          <a class="pic-add" id="add-pic-btn" href="#!" title="点击上传"> 
                          </a>
                          <input type="file" id="file" name="adimg" multiple style="position: relative;top: -90px;;width: 100%;height: 100%;cursor: pointer;opacity: 0" value="点击上传">
                        </li>
                        <li class="col-xs-4 col-sm-3 col-md-2"><label id="text"></label></li>
                      </ul>
                    </div>
                  </div>                  
                  <div class="form-group col-md-12">
                    <button type="submit" class="btn btn-primary ajax-post" target-form="add-form">确 定</button>
                    <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
                  </div>
                </form>
       
              </div>
            </div>
          </div>
          
        </div>
        
      </div>
      
    </main>
    <!--End 页面主要内容-->
  </div>
</div>

<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/perfect-scrollbar.min.js"></script>
<!--标签插件-->
<script src="__PUBLIC__/js/jquery-tags-input/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/main.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/self_disimg.js"></script>
</body>
</html>